<!--推荐写真-->
<?php if(!empty($recommendPortrays)):?>
    <h2 class="mt20"><a href="javascript:changePortray();" target="_blank">换一波</a>推荐写真</h2>
    <ul class="works">
        <?php foreach ($recommendPortrays as $portray):?>
            <li><a href="/xiezhen/<?=$portray['id']?>.html" title="<?=$portray['title']?>"><img title="<?=$portray['title']?>" alt="<?=$portray['title']?>" src="<?=$portray['y_img']?>" /></a></li>
        <?php endforeach;?>
    </ul>
    <div class="clear"></div>
<?php endif;?>